<?php

	class loader {

		public static function register()
		{
			spl_autoload_register(function ($className) {
				$className = $className . ".php";
				if (is_file($className)) {
					require $className;
				} else {
					echo "载入类文件失败";
				}

			});
		}
	}

	loader::register();

	$res = DebugInfo::handler('ffdf','sds1123');
	var_dump($res);die;


	$res = call_user_func_array(["DebugInfo::class", "handler"], ["req", "next"]);

	var_dump($res);die;
	


?>